@charset "UTF-8";
@import url(ag-font.css);
@import url(ag-effect.css);

/*==================== 锁屏样式 ====================*/
body.ag-lock-body {
    overflow: hidden;
}

body.ag-mobile-body.ag-lock-body {
    display: block;
    padding: 0 !important;
    margin: 0 !important;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

/*==================== 等待窗口 ====================*/
.ag-pop-wait {
    display: inline-flex;
    flex-direction: column;
    padding: 1rem;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-animation: ag-scale-in .2s linear;
    -moz-animation: ag-scale-in .2s linear;
    -ms-animation: ag-scale-in .2s linear;
    -o-animation: ag-scale-in .2s linear;
    animation: ag-scale-in .2s linear;
}

.ag-pop-wait .agfont {
    display: flex;
    width: 1.875rem;
    height: 1.875rem;
    font-size: 1.875rem;
    align-items: center;
    justify-content: center;
    color: #ff7f14;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .15);
    transform-origin: center;
    -webkit-transform-origin: center;
    -webkit-animation: ag-rotate 1s linear infinite;
    -moz-animation: ag-rotate 1s linear infinite;
    -ms-animation: ag-rotate 1s linear infinite;
    -o-animation: ag-rotate 1s linear infinite;
    animation: ag-rotate 1s linear infinite;
}

.ag-pop-wait .ag-wait-text {
    display: block;
    color: #999;
    margin-top: 5px;
    max-width: 50px;
    text-align: center;
    font-size: 0.875rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/*==================== 等待窗口[移动端样式] ====================*/
.ag-pop-mobile.ag-pop-wait {
    position: fixed;
    background-color: rgba(17, 17, 17, .7);
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
}

.ag-pop-mobile.ag-pop-wait .agfont {
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    color: #fff;
    width: 50px;
    height: 50px;
    font-size: 2.5rem;
    overflow: hidden;
}

.ag-pop-mobile.ag-pop-wait .ag-wait-text {
    color: #ffffff;
    font-size: 0.875rem;
    width: 80px;
    max-width: 80px;
}

/*==================== 弹窗控件 ====================*/
.ag-pop-container {
    display: block;
    -webkit-animation: ag-scale-in .2s linear;
    -moz-animation: ag-scale-in .2s linear;
    -ms-animation: ag-scale-in .2s linear;
    -o-animation: ag-scale-in .2s linear;
    animation: ag-scale-in .2s linear;
}

/*===== 关闭窗口过渡效果 =====*/
.ag-pop-container.closing {
    -webkit-animation: ag-scale-out .1s forwards;
    -moz-animation: ag-scale-out .1s forwards;
    -ms-animation: ag-scale-out .1s forwards;
    -o-animation: ag-scale-out .1s forwards;
    animation: ag-scale-out .1s forwards;
}

.ag-pop-container .ag-pop-box {
    display: block;
    background-color: #fff;
    overflow: hidden;
    position: relative;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.ag-pop-mobile.ag-pop-container .ag-pop-box {
    display: flex;
    flex-direction: column;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.ag-pop-container > i.ag-pop-close {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #ffffff;
    background-color: #d9534f;
    border: 3px solid #fff;
    cursor: pointer;
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 9;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .15);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-transition: all .1s;
    -moz-transition: all .1s;
    -ms-transition: all .1s;
    -o-transition: all .1s;
    transition: all .1s;
}

.ag-pop-container > i.ag-pop-close:hover, .ag-pop-container > i.ag-pop-close:focus {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.ag-pop-container > i.ag-pop-close:active, .ag-pop-container > i.ag-pop-close.active {
    background-color: #c9302c;
    -webkit-transform: scale(.85, .85);
    -moz-transform: scale(.85, .85);
    -ms-transform: scale(.85, .85);
    -o-transform: scale(.85, .85);
    transform: scale(.85, .85);
}

.ag-pop-mobile.ag-html.ag-pop-container > i.ag-pop-close {
    margin: 10px 0px 0px -20px;
    top: 100%;
    left: 50%;
}

/*===== 头部关闭按钮/标题容器 =====*/
.ag-pop-container .ag-pop-header {
    display: block;
    position: relative;
}

/*===== 头部标题样式 =====*/
.ag-pop-header .ag-pop-title {
    display: block;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    color: #fff;
    background-color: #ff7f14;
    margin: 0;
    padding: 0px 40px 0px 15px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .15);
}

/*===== 标题旁关闭按钮样式 =====*/
.ag-pop-header i.ag-pop-close {
    display: block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    font-size: 16px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    margin: -8px 0 0 0;
    padding: 0;
    border: none;
    cursor: pointer;
    opacity: .7;
    -moz-opacity: .7;
    filter: alpha(opacity=70);
    position: absolute;
    top: 50%;
    right: 15px;
    z-index: 9;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

/*有弹框关闭按钮交互*/
.ag-pop-header i.ag-pop-close:active, .ag-pop-header i.ag-pop-close:hover {
    color: #fff;
    opacity: 1;
    -moz-opacity: 1;
    filter: alpha(opacity=100);
}

.ag-pop-header i.ag-pop-close:active, .ag-pop-header i.ag-pop-close.active {
    -webkit-transform: scale(.85, .85);
    -moz-transform: scale(.85, .85);
    -ms-transform: scale(.85, .85);
    -o-transform: scale(.85, .85);
    transform: scale(.85, .85);
}

/*===== 显示内容容器 =====*/
.ag-pop-container .ag-pop-body {
    display: block;
    padding: 0;
    margin: 0;
    position: relative;
}

.ag-pop-container.ag-html .ag-pop-body {
    padding: 10px 0;
}

.ag-pop-container.ag-no-title.ag-html .ag-pop-body {
    padding: 15px 0px;
}

/*===== iframe加载等待样式 =====*/
.ag-iframe .ag-pop-body .ag-pop-loading {
    display: block;
    text-align: center;
    overflow: hidden;
}

.ag-pop-loading > .agfont {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 30px;
    color: #ff7f14;
    -webkit-animation: ag-rotate 1s linear infinite;
    -moz-animation: ag-rotate 1s linear infinite;
    -ms-animation: ag-rotate 1s linear infinite;
    -o-animation: ag-rotate 1s linear infinite;
    animation: ag-rotate 1s linear infinite;
}

.ag-pop-container .ag-pop-content {
    display: block;
    padding: 15px;
    font-size: 14px;
    line-height: 1.7em;
    color: #444;
    word-wrap: break-word;
    word-break: break-all;
}

.ag-pop-container.ag-no-title .ag-pop-content {
    padding: 35px 15px 25px 15px;
}

.ag-pop-container.ag-html .ag-pop-content {
    padding: 0px 15px;
}

.ag-pop-container.ag-no-title.has-icon .ag-pop-body {
    padding-top: 20px;
}

.ag-pop-container.has-icon .ag-pop-content {
    margin-left: 50px;
}

.ag-pop-container.has-icon .ag-pop-content {
    padding: 15px;
}

/*单行显示效果*/
.ag-pop-container.has-icon .ag-pop-content.single {
    line-height: 40px;
}

/*警告,成功,错误提示前置图标*/
.ag-pop-body .agfont.ag-pop-wran, .ag-pop-body .agfont.ag-pop-success, .ag-pop-body .agfont.ag-pop-error {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    line-height: 2.75rem;
    text-align: center;
    font-size: 2.5rem;
    margin: 15px 0 0 12px;
    overflow: hidden;
    float: left;
}

.ag-pop-mobile .agfont.ag-pop-wran, .ag-pop-mobile .agfont.ag-pop-success, .ag-pop-mobile .agfont.ag-pop-error {
    opacity: .1;
    -moz-opacity: .1;
    filter: opacity(10);
}

.ag-pop-mobile .agfont.ag-pop-wran, .ag-pop-mobile .agfont.ag-pop-success, .ag-pop-mobile .agfont.ag-pop-error {
    font-size: 7.5rem;
    width: 8rem;
    height: 8rem;
    line-height: 8rem;
    min-height: 8rem;
    margin: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    transform: translate(20%, -20%);
}

.ag-pop-mobile .agfont.ag-pop-wran {
    transform: translate(20%, -20%) rotate(315deg);
}

.agfont.ag-pop-wran {
    color: #f0ad4e;
}

.agfont.ag-pop-success {
    color: #5FB878;
}

.agfont.ag-pop-error {
    color: #d9534f;
}

.ag-pop-content a, .ag-pop-content b, .ag-pop-content strong {
    display: inline;
    font-weight: normal;
    color: #ff7f14;
}

.ag-pop-content a {
    text-decoration: underline;
}

.ag-pop-content a:active, .ag-pop-content a.active {
    opacity: .7;
    -moz-opacity: .7;
    filter: alpha(opacity=70);
}

/*底部按钮容器*/
.ag-pop-bottom {
    display: block;
    line-height: 0;
    padding: 0 10px 15px;
    text-align: center;
}

.ag-pop-bottom .ag-pop-btn {
    display: inline-block;
    min-width: 80px;
    padding: 6px 12px;
    margin: 0 5px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: all .1s;
    -moz-transition: all .1s;
    -ms-transition: all .1s;
    -o-transition: all .1s;
    transition: all .1s;
}

/*确认按钮样式*/
.ag-pop-bottom .ag-pop-ok {
    color: #ffffff;
    background-color: #ff7f14;
    border-color: #ff7f14;
}

.ag-pop-bottom .ag-pop-ok:hover, .ag-pop-bottom .ag-pop-ok:focus, .ag-pop-bottom .ag-pop-ok:active, .ag-pop-bottom .ag-pop-ok.active {
    background-color: #ec730d;
    border-color: #ec730d;
}

/*取消按钮样式*/
.ag-pop-bottom .ag-pop-cancel {
    color: #444;
    background-color: #ccc;
    border-color: #ccc;
}

.ag-pop-bottom .ag-pop-cancel:hover, .ag-pop-bottom .ag-pop-cancel:focus, .ag-pop-bottom .ag-pop-cancel:active, .ag-pop-bottom .ag-pop-cancel.active {
    background-color: #aaa;
    border-color: #aaa;
}

.ag-pop-bottom .ag-pop-btn:active, .ag-pop-bottom .ag-pop-btn.active {
    -webkit-transform: scale(.9, .9);
    -moz-transform: scale(.9, .9);
    -ms-transform: scale(.9, .9);
    -o-transform: scale(.9, .9);
    transform: scale(.9, .9);
}

/*===== 消息组件 =====*/
.ag-message-list {
    display: block;
    width: 320px;
    max-width: calc(100vw - 32px);
    /*max-height: calc(100vh - 16px);*/
    position: fixed;
    z-index: 1000;
}

/* 左上 */
.ag-message-list.top-left {
    top: 16px;
    left: 16px;
}

/* 右上 */
.ag-message-list.top-right {
    top: 16px;
    right: 16px;
}

/* 中上 */
.ag-message-list.top,
.ag-message-list.bottom {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.ag-message-list.top {
    top: 16px;
}

/* 左下 */
.ag-message-list.bottom-left {
    bottom: 16px;
    left: 16px;
}

/* 右下 */
.ag-message-list.bottom-right {
    right: 16px;
    bottom: 16px;
}

/* 中下 */
.ag-message-list.bottom {
    bottom: 16px;
}

/* 消息体 */
.ag-message-list .ag-message-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background-color: #fff;
    border: 1px solid #ebeef5;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: default;
    box-shadow: 0 3px 6px -4px #0000001f, 0 6px 16px #00000014, 0 9px 28px 8px #0000000d;;
    transition: background-color 0.08s linear;
    -webkit-transition: background-color 0.08s linear;
}

/* 可点击效果 */
.ag-message-list .ag-message-item.clickable {
    cursor: pointer;
    border-color: #ffdabb;
    box-shadow: 0 3px 6px -4px #ff7f141f, 0 6px 16px #ff7f1414, 0 9px 28px 8px #ff7f140d;;
}

.ag-message-list .ag-message-item.clickable:hover {
    background-color: #fff8ee;
}

/* 暗黑模式 */
.ag-message-list .ag-message-item.dark {
    background-color: #1d1e1f;
    border-color: #363637;
}

.ag-message-list .ag-message-item.dark.clickable {
    box-shadow: 0 3px 6px -4px #0000001f, 0 6px 16px #00000014, 0 9px 28px 8px #0000000d;;
}

.ag-message-list .ag-message-item.dark.clickable:hover {
    background-color: #323334;
}

/* 上面显示的消息 */
.ag-message-list[class*="top"] .ag-message-item {
    margin-bottom: 16px;
}

/* 下面显示的消息 */
.ag-message-list[class*="bottom"] .ag-message-item {
    margin-top: 16px;
}

/* 关闭按钮 */
.ag-message-item .ag-message-close {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    font-size: 12px;
    color: #c8c9c0;
    overflow: hidden;
    position: absolute;
    top: 18px;
    right: 12px;
    z-index: 2;
    cursor: pointer;
    transition: all .08s ease-in-out;
    -webkit-transition: all .08s ease-in-out;
}

.ag-message-item .ag-message-close:hover {
    color: #999;
}

.ag-message-item.dark .ag-message-close {
    color: #616161;
}

.ag-message-item.dark .ag-message-close:hover {
    color: #A3A6AD;
}

/* 倒计时状态栏 */
.ag-message-item .ag-message-progress {
    display: block;
    width: 0;
    height: 2px;
    background-color: #ff7f14;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
}

.ag-message-item .ag-message-progress.active {
    width: 100%;
}

/* 显示左边Icon/头像 */
.ag-message-item .ag-message-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    padding: 15px 5px 12px 12px;
    overflow: hidden;
}

.ag-message-item .ag-message-icon .agfont {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

/* 头像显示 */
.ag-message-item.has-avatar .ag-message-icon {
    width: 54px;
    padding: 0;
    margin: 15px 5px 12px 10px;
    position: relative;
}

/* 成功样式 */
.ag-message-item .ag-message-icon .agfont.icon-right2 {
    color: #5FB878;
}

/* 错误样式 */
.ag-message-item .ag-message-icon .agfont.icon-wrong2 {
    color: #d9534f;
}

/* 提示样式 */
.ag-message-item .ag-message-icon .agfont.icon-warn {
    color: #f0ad4e;
}

/* 头像 */
.ag-message-icon .ag-message-avatar {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 4px;
    overflow: hidden;
}

/* 名字 */
.ag-message-icon .ag-message-name {
    display: block;
    line-height: 20px;
    color: #606266;
    font-size: 12px;
    text-align: center;
    max-width: 48px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

}

/* 暗黑模式 */
.dark .ag-message-icon .ag-message-name {
    color: #CFD3DC;
}

/* 消息内容区域 */
.ag-message-item .ag-message-container {
    flex: 1;
    display: block;
}

/* 强制换行 */
.ag-message-item .ag-message-container p {
    display: block;
    word-break: break-word;
    word-wrap: break-word;
}

/* 消息标题 */
.ag-message-container .ag-message-title {
    font-size: 16px;
    line-height: 24px;
    color: #303133;
    font-weight: 700;
    padding: 16px 24px 5px;
}

/* 暗黑模式 */
.dark .ag-message-container .ag-message-title {
    color: #E5EAF3;
}

/* 有关闭按钮样式 */
.show-close .ag-message-container .ag-message-title {
    padding: 16px 40px 5px 24px;
}

/* 有图标情况 */
.has-icon .ag-message-container .ag-message-title,
.has-avatar .ag-message-container .ag-message-title {
    padding-left: 0;
}

/* 消息内容 */
.ag-message-container .ag-message-content {
    color: #606266;
    font-size: 13px;
    line-height: 22px;
    padding: 0 24px 16px 24px;
}

/* 暗黑模式 */
.dark .ag-message-container .ag-message-content {
    color: #CFD3DC;
}

.no-title .ag-message-container .ag-message-content {
    padding: 18px 40px 18px 24px;
}

.has-icon .ag-message-container .ag-message-content,
.has-avatar .ag-message-container .ag-message-content {
    padding-left: 0;
}

/* 左上/左下 */
.ag-message-list.top-left .ag-message-item,
.ag-message-list.bottom-left .ag-message-item {
    transform: translateX(calc(-100% - 16px));
}

/* 中上 */
.ag-message-list.top .ag-message-item {
    opacity: 0;
    -moz-opacity: 0;
    filter: opacity(0);
    transform: translateY(calc(-100% - 16px));
}

/* 中下 */
.ag-message-list.bottom .ag-message-item {
    opacity: 0;
    -moz-opacity: 0;
    filter: opacity(0);
    transform: translateY(calc(100% + 16px));
}

/* 右上, 右下 */
.ag-message-list.top-right .ag-message-item,
.ag-message-list.bottom-right .ag-message-item {
    transform: translateX(calc(100% + 16px));
}

/* 左上/左下 显示 */
.ag-message-list.top-left .ag-message-item.show,
.ag-message-list.bottom-left .ag-message-item.show {
    -webkit-animation: ag-message-slide-right .3s forwards;
    animation: ag-message-slide-right .3s forwards;
}

/* 中上显示 */
.ag-message-list.top .ag-message-item.show {
    -webkit-animation: ag-message-slide-down .3s forwards;
    animation: ag-message-slide-down .3s forwards;
}

/* 中下显示 */
.ag-message-list.bottom .ag-message-item.show {
    -webkit-animation: ag-message-slide-up .3s forwards;
    animation: ag-message-slide-up .3s forwards;
}

/* 右上/右下 显示 */
.ag-message-list.top-right .ag-message-item.show,
.ag-message-list.bottom-right .ag-message-item.show {
    -webkit-animation: ag-message-slide-left .3s forwards;
    animation: ag-message-slide-left .3s forwards;
}

/* 隐藏 */
.ag-message-list[class*="top"] .ag-message-item.hide,
.ag-message-list.top .ag-message-item.hide {
    -webkit-animation: ag-message-hide .3s forwards;
    animation: ag-message-hide .3s forwards;
}

.ag-message-list[class*="bottom"] .ag-message-item.hide {
    -webkit-animation: ag-message-hide-bottom .3s forwards;
    animation: ag-message-hide-bottom .3s forwards;
}


/*===== 移动端样式 =====*/
.ag-pop-mobile > i.ag-pop-wran, .ag-pop-mobile > i.ag-pop-success, .ag-pop-mobile > i.ag-pop-error {
    display: block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    background-color: #fff;
    font-size: 55px;
    margin: -40px 0px 0px -35px;
    text-shadow: 0 2px 3px rgba(0, 0, 0, .15);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 9;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.ag-pop-mobile .ag-pop-header {
    display: block;
    padding: 1rem 1rem 0.25rem;
}

.ag-pop-mobile .ag-pop-header .ag-pop-title {
    color: #555;
    font-size: 1.25rem;
    padding: 0;
    line-height: 1.2em;
    height: auto;
    text-align: center;
    overflow: hidden;
    white-space: normal;
    text-overflow: inherit;
    background-color: transparent;
}

.ag-pop-mobile.ag-iframe .ag-pop-header .ag-pop-title {
    padding: 10px 15px 0 15px;
    background-color: #ff7f14;
    color: #fff;
}

.ag-pop-mobile.ag-confirm .ag-pop-header .ag-pop-title {
    padding-bottom: 4px;
}

.ag-pop-mobile.ag-html .ag-pop-header .ag-pop-title {
    padding-top: 15px;
}

.ag-pop-mobile .ag-pop-content {
    color: #444;
    font-size: 1rem;
    line-height: 1.5em;
    text-align: center;
    padding: 0 15px 20px 15px;
    position: relative;
    z-index: 10;
}

.ag-pop-container.ag-no-title.mobile-has-icon .ag-pop-content {
    padding: 25px 15px 15px 15px;
    min-height: 82px;
}

.ag-pop-mobile .ag-pop-bottom {
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
}

.ag-pop-mobile .ag-pop-bottom .ag-pop-btn {
    width: 100%;
    font-size: 1rem;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .15);
    margin: 0;
    padding: 1rem;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.ag-pop-mobile.ag-confirm .ag-pop-bottom .ag-pop-btn {
    flex: 1;
}

.ag-pop-mobile .ag-pop-bottom .ag-pop-btn:active, .ag-pop-mobile .ag-pop-bottom .ag-pop-btn.active {
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
}
